package model;

import java.sql.Date;

public class Goods {
	
	private int id;
	private String name;
	private float price;
	private int quantity;
	private Date date;
	
	public Goods() {
		id = 0;
		name = null;
		price = 0;
		quantity = 0;
		date = null;
	}
	
	public Goods(int i, String s) {
		id = i;
		name = s;
		price = 0;
		quantity = 0;
		date = null;
	}
	
	public Goods(int i, String s, float f, int q, Date d) {
		id = i;
		name = s;
		price = f;
		quantity = q;
		date = d;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int i) {
		id = i;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String s) {
		name = s;
	}
	
	public float getPrice() {
		return price;
	}
	
	public void setPrice(float f) {
		price = f;
	}
	
	public int getQuantity() {
		return quantity;
	}
	
	public void setQuantity(int i) {
		quantity = i;
	}
	
	public Date getDate() {
		return date;
	}
	
	public void setDate(Date d) {
		date = d;
	}

}
